package com.finger.gulimall.product.feign;

import com.finger.common.to.SkuHasStockTO;
import com.finger.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareRemoteService {


    @PostMapping("/ware/waresku/queryHasStock")
    public List<SkuHasStockTO> queryHasStock(@RequestBody List<Long> skuIds);
}
